﻿using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

/// <summary>
/// 给消息用的属性，不过值得注意的是，打了这个标签的方法，方法名不能重复
/// </summary>
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true, Inherited = true)]
public class EventMsg : Attribute
{

}

//属于组件
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true, Inherited = true)]
public class GameComp : Attribute
{

}

//属于Mono组件
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true, Inherited = true)]
public class GameMonoComp : Attribute
{

}